﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace OL.FrameCore.WebUI.ViewModels.User
{
    public class RetsetPasswordViewRequest
    {
        [Required(ErrorMessage = "找不到UserId")]
        public int UserId { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        [StringLength(20, ErrorMessage = "密码长度不能操作20个字符")]
        public string Password { get; set; }
    }
}
